@extends('layout.backend_iframe')

@section("main-content")

    <!-- 面包屑组件start  -->
    @component('component/crumb',['icon' => 'fa-dashboard', 'title' => '示例参考/示例列表' ])
    @endcomponent
    <!-- 面包屑组件end  -->


    <div id="main">
        <!--  提示组件 start -->
        @component('component/tips')
            <p style="margin:5px 0 ;padding:0">示例说明1。示例说明1。示例说明1。示例说明1。</p>
            <p style="margin:5px 0;padding:0">示例说明2。示例说明2。示例说明2。示例说明2。</p>
            <p style="margin:5px 0;padding:0">示例说明3。示例说明3。示例说明3。示例说明3。</p>
        @endcomponent
        <!--  提示组件 end -->

        <!-- 搜索功能 start  -->
        <div class="" style="margin-top:20px">
            @include('backend.demo._search')
        </div>
        <!--  提示功能 end -->

        <!-- 操作按钮 start  -->
        <div id="act-btn" style="padding:20px 0">
            <button class="btn btn-white btn-refresh"><i class="fa fa-refresh"></i> &nbsp;刷新</button>
            <button data-area="['70%', '700px']" data-url="{{URL::asset('/demo/form')}}" data-title = "添加" class="btn-dialog btn btn-primary btn-sm btn-3F51B5 btn-add">
                <i class="fa fa-plus"></i>
                &nbsp;添加用户
            </button>
            &nbsp;&nbsp;

            @component('component/btn_select',['name' => "操作选项", 'items'
                        =>[["name" => "提交审核", 'url' =>URL::asset('/demo/review'),'data'=>2 ],
                        ["name" => "审核", 'url' =>URL::asset('/demo/review'),'data'=>3 ],
                        ["name" => "反审核", 'url' =>URL::asset('/demo/review'),'data'=>-1 ],
                        ["name" => "复制", 'url' =>URL::asset('/demo/copy'),'data'=>-1 ],
                        ["name" => "启用", 'url' =>URL::asset('/demo/status'),'data'=>1 ],
                        ["name" => "禁用", 'url' =>URL::asset('/demo/status'),'data'=>0 ],
                        ["name" => "删除", 'url' =>URL::asset('/demo/deletes'),'data'=>-1 ],
                     ]])
            @endcomponent

            @component('component/btn_select',['name' => "导入/导出", 'items'
                       =>[["name" => "导出", 'url' =>URL::asset('/demo/export'),'data'=>"export" ],
                       ["name" => "导入", 'url' =>URL::asset('/demo/import'),'data'=>"import" ]
                    ]])
            @endcomponent

        </div>
        <!-- 操作按钮 end  -->

        <!-- 列表start  -->
        <div id="table">
            <table class="no-border-table" data-url="/demo/list">
                <thead>
                <tr class="table-head" >
                    <td width="5%">
                        @component('component/checkbox',['checkbox'=>[''],'name'=>['checkall'],'custom_class'=>"checkall checkall-2 checkbox"])
                        @endcomponent
                    </td>
                    <td >用户名</td>
                    <td>昵称</td>
                    <td>手机号</td>
                    <td>邮箱</td>
                    <td>创建时间</td>
                    <td>操作</td>
                </tr>
                </thead>
                <tbody class="tbl-content">

                </tbody>
            </table>
            @component('component/paginate',['limit' => \Config::get('pageLimit')])
            @endcomponent

        </div>
        <!-- 列表end    -->
    </div>


@endsection

@section("pages-js")

@endsection
